const getters = {
  sidebar: (state) => state.app.sidebar,
  device: (state) => state.app.device,
  token: (state) => state.user.token,
  avatar: (state) => state.user.userInfo?.photo,
  name: (state) => state.user.userInfo?.name,
  menuTree: (state) => state.user?.userInfo?.menuTree,
};
export default getters;
